import {
	createSSRApp
} from "vue";
import uvUI from '@/uni_modules/uv-ui-tools'
// vuex
import store from './store'
import vuexStore from '@/store/$u.mixin.js'
import { initRequest } from '@/util/request/index'
import { settingApp } from './util/settingApp'
import App from "./App.vue";
export function createApp() {
	const app = createSSRApp(App);
	app.use(uvUI)
	
	app.use(store)
	app.mixin(vuexStore);
	
	// 引入请求封装
	initRequest(app)
	settingApp(app)
	return {
		app,
	};
}
